package pers.wensheng.patterns.behavioral_pattern.visitor_pattern.foundation.entity;

/**
 * 猫类
 */
public class Cat implements Animal {

    /**
     * 接受喂食
     *
     * @param person
     */
    @Override
    public void accept(Person person) {
        person.feed(this);
        System.out.println("好吃，喵喵喵！！");
    }
}
